package org.hi.orders.service;

import java.util.List;

import org.hi.framework.paging.PageInfo;
import org.hi.orders.model.Passenger;
import org.hi.framework.service.Manager;

public interface PassengerManager extends Manager{
    
    public void savePassenger(Passenger passenger);

    public void removePassengerById(Integer id);

    public Passenger getPassengerById(Integer id);

    public List<Passenger> getPassengerList(PageInfo pageInfo);
    
    public void saveSecurityPassenger(Passenger passenger);

    public void removeSecurityPassengerById(Integer id);

    public Passenger getSecurityPassengerById(Integer id);

    public List<Passenger> getSecurityPassengerList(PageInfo pageInfo);    
}
